package icu.qx.pbs.mapper;

import java.util.List;

import icu.qx.pbs.domain.PbsProcedureMaterial;
import org.apache.ibatis.annotations.Param;

/**
 * 工序物料清单Mapper接口
 *
 * @author yong
 * @date 2024-06-15
 */
public interface PbsProcedureMaterialMapper {
    /**
     * 查询工序物料清单列表
     *
     * @param pbsProcedureMaterial 工序物料清单
     * @return 工序物料清单集合
     */
    public List<PbsProcedureMaterial> selectPbsProcedureMaterialList(PbsProcedureMaterial pbsProcedureMaterial);

    PbsProcedureMaterial selectSelfData(PbsProcedureMaterial pbsProcedureMaterial);

    /**
     * 新增工序物料清单
     *
     * @param pbsProcedureMaterial 工序物料清单
     * @return 结果
     */
    public int insertPbsProcedureMaterial(PbsProcedureMaterial pbsProcedureMaterial);

    /**
     * 批量删除工序物料清单
     *
     * @return 结果
     */
    public int deletePbsProcedureMaterialByPris(PbsProcedureMaterial pbsProcedureMaterial);
}
